package com.lanou.elh.sysmanage.system_member.mapper;

import com.lanou.elh.sysmanage.system_member.entity.Tb_member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberMapper {

    public Integer countMapper();

    public List<Tb_member> showMapper(Tb_member tbMember);

    public void stopById(Tb_member tbMember);

    public void startById(Tb_member tbMember);

    public void removeById(Long id);

    public Integer removeCountMapper();

    public void restartById(Long id);

    public void deleteById(Long id);

    public List<Tb_member> selectByUsername(String username);

    public List<Tb_member> selectByPhone(String phone);

    public List<Tb_member> selectByEmail(String email);

    public int memberRegister(Tb_member tbMember);

    public int memberUpdate(Tb_member tbMember);
}
